#include "../include/BaseServer.h"
BaseServer::BaseServer(uint16_t threadNum)
{
	m_threadPool.Init(threadNum);
}
BaseServer::~BaseServer()
{
	m_threadPool.Stop();
}

void BaseServer::ServerStop()
{
	m_threadPool.WaitForAlllDone(1000);
}

void BaseServer::ServerStart()
{
	m_threadPool.Start();
}
